import http from "./http"
let code = localStorage.getItem("deptCode")


//查询设备输液中需展示的状态
export const query_stateType = () => http({
    method: "get",
    url: "/rk/business/deviceManage/queryStateType?deptCode=" + code
})

//查询输液数据
export const get_infusionIndexData = (params) => http({
    method: 'get',
    url: "/rk/business/deviceManage/infusionIndexData?deptCode=" + code,
    params
})

//查询是否绑定两个设备 => 参数bedNo 床位号
export const get_bindCount = (params) =>http({
    method:"get",
    url:"/rk/business/doctorOrder/selectCount?deptCode=" + code,
    params
})